<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="http://lib.sinaapp.com/js/jquery/1.9.1/jquery-1.9.1.min.js"></script>
<style>
    div{
        width: 600px;
        height: 90px;
        background-color: darkorange;
        margin-bottom: 9px;
    }
</style>
    <script type="text/javascript">
        $(function(){
           $(".inbutton").bind("click",function(){
               $(this).parent("div").css("background-color","#060606").next("div")
                       .css("background-color","#060606");
           })
        })
    </script>
</head>
<body>
<div>
    <button class="inbutton">我是按钮</button>
</div>
<div>
</div>
<div>
    <button class="inbutton">我是按钮</button>
</div>
<div></div>
</body>
</html>